package com.bgIntlgn.client.entity.jishubu;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

/**
 * 图纸数量视图
 * 
 * @author Simon Chen
 */
@View(name = "paper_view", sqlToCreate = "select es.uid as uid, count(es.uid) as paperno "
		+ "from element_subversions as es, papers where es.uid=papers.uid group by es.uid")
public class PaperNumView implements Bean {

	// 零件UID
	private Long uid;
	// UID对应的图纸数量
	private Integer paperno;

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Integer getPaperno() {
		return paperno;
	}

	public void setPaperno(Integer paperno) {
		this.paperno = paperno;
	}
}
